import PInterface from './Interface/public'

const Enums ={
  GetEnumArr <T>(Arg:T):PInterface.KeyVal[]{
    let Arr:PInterface.KeyVal[] = [];
    for(let Item in Arg){
      if(isNaN(Number(Item))){
        Arr.push({Key:Item,Value:Number(Arg[Item])})
      }
    }
    return Arr;
  }
}

export default Enums
